dofile ("libGame.lua")

Game.RPG.Map.newMap (1, "data/map1.map", 32, 32, 64, 64, "images/tiles1.png", {11})

while not RPG_QUIT do
  
  Controls.read ()
  
  Game.RPG.Map.initControls (1)
  
  startDrawing ()
    
    Game.RPG.Map.draw (1, SCREEN_DOWN)
    
  stopDrawing ()
  
end

Game.RPG.Map.destroy (1)